package demo2;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class DEMO_03 {
    public static void main(String[] args) throws IOException {
//        49
//        50
//        51
//        13
//        10
//        -50
//        -46
        OutputStream outputStream=new FileOutputStream("d:/temp/text2.txt");
        outputStream.write(49);
        outputStream.write(50);
        outputStream.write(51);
        outputStream.write('\r');
        outputStream.write('\n');
        outputStream.write(-50);
        outputStream.write(-46);
        outputStream.flush();
        outputStream.close();

    }
}
